package com.hyk.mapper;

import com.hyk.entity.CodeGeneratorX;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyk.entity.request.CodeGeneratorRequest;
import com.hyk.entity.request.CodeGeneratorXRequest;
import com.hyk.entity.response.CodeGeneratorResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 代码生成器表 Mapper 接口
 * </p>
 *
 * @author hyk
 * @since 2021-03-10
 */
public interface CodeGeneratorXMapper extends BaseMapper<CodeGeneratorX> {

    List<CodeGeneratorResponse> selectForList(@Param("request") CodeGeneratorRequest request);

    CodeGeneratorXRequest selectCodeGenerator(@Param("id") Long id);

    List<CodeGeneratorResponse> allList();
}
